<!DOCTYPE html>
<html style="-webkit-text-size-adjust: 100%; line-height: 1.60">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{if $title} {$title} {else} {if !empty($set['copyright'])} {$set['copyright']}
        {else}{$_W['account']['name']}{/if} {/if}
        {if $_W['account']['siteinfo']['sitename']}{$_W['account']['siteinfo']['sitename']}{/if}</title>
    {php echo register_jssdk(false);}
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <script nonce="" type="text/javascript">
        window.logs = {
            pagetime: {}
        };
        window.logs.pagetime['html_begin'] = (+new Date());
    </script>
    <link rel="dns-prefetch" href="//res.wx.qq.com">
    <link rel="dns-prefetch" href="//mmbiz.qpic.cn">
    <link rel="shortcut icon" type="image/x-icon"
          href="https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/common/favicon22c41b.ico">
    <script nonce="" type="text/javascript">
        String.prototype.html = function (encode) {
            var replace = ["&#39;", "'", "&quot;", '"', "&nbsp;", " ", "&gt;", ">", "&lt;", "<", "&amp;", "&", "&yen;", "¥"];
            if (encode) {
                replace.reverse();
            }
            for (var i = 0, str = this; i < replace.length; i += 2) {
                str = str.replace(new RegExp(replace[i], 'g'), replace[i + 1]);
            }
            return str;
        };

        window.isInWeixinApp = function () {
            return /MicroMessenger/.test(navigator.userAgent);
        };

        window.getQueryFromURL = function (url) {
            url = url || 'http://qq.com/s?a=b#rd';
            var tmp = url.split('?'),
                query = (tmp[1] || "").split('#')[0].split('&'),
                params = {};
            for (var i = 0; i < query.length; i++) {
                var arg = query[i].split('=');
                params[arg[0]] = arg[1];
            }
            if (params['pass_ticket']) {
                params['pass_ticket'] = encodeURIComponent(params['pass_ticket'].html(false).html(false).replace(/\s/g, "+"));
            }
            return params;
        };

        (function () {
            var params = getQueryFromURL(location.href);
            window.uin = params['uin'] || "" || '';
            window.key = params['key'] || "" || '';
            window.wxtoken = params['wxtoken'] || '';
            window.pass_ticket = params['pass_ticket'] || '';
            window.appmsg_token = "";
        })();

        function wx_loaderror() {
            if (location.pathname === '/bizmall/reward') {
                new Image().src = '/mp/jsreport?key=96&content=reward_res_load_err&r=' + Math.random();
            }
        }
    </script>
    <link rel="stylesheet" href="https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/page/homepage/index23b0e8.css">
</head>
<body id="" class="zh_CN ">
<script>
    var benchmark = {
        mark: function (key) {
            benchmark[key] = (+new Date());
        },
        pageBegin: 0,
        pageEnd: 0,
        cssEnd: 0,
        jsEnd: 0,
        moonJsEnd: 0,
        soonJsEnd: 0
    };
    benchmark.mark('pageBegin');
</script>
<div class="container">
    <div id="js_plugins_loading" class="loading">
        加载中
    </div>
    <div id="js_plugins" style="visibility:hidden;">
        {if count($advlist)>0}
        <div class="slider js_plugin" id="namespace_0" data-pid="1">
            <div class="swiper" style="height: 180px;">
                {loop $advlist $row}
                <div class="item js_post">
                    <a href="{if $row['link']}{$row['link']}{else}#{/if}">
                        <div class="img js_img" style="background-image: url('{php echo strpos($row[thumb],'http://')===FALSE?tomedia($row[thumb]):$row[thumb]}');"></div>
                        <p class="desc js_title">{$row['title']}</p>
                    </a>
                </div>
                {/loop}
            </div>
            <div class="indicator">
                {loop $advlist $key $row}
                <a href="javascript:;"><i class="icon_dot {if $key==0}active{/if}"></i></a>
                {/loop}
            </div>
        </div>
        {/if}

        <div class="tab js_plugin" id="namespace_1" data-pid="2">
            <div class="tab_hd">
                <div class="tab_hd_inner">
                    {loop $result $key $nav}
                    <div type="index" data-index="{$key}" class="item {if $key==0}active{/if}">{$nav['name']}</div>
                    {/loop}
                </div>
            </div>
            <div class="tab_bd">
                {loop $result $key $nav}
                <div class="article_list article_list_{$key}" {if $key>0}style="display: none;"{/if}>
                    {php include_once IA_ROOT . '/addons/amouse_article/model.php'}
                    {php $list = amouse_article_site_list($nav['id'])}
                    {loop $list $k $item}
                    <a class="list_item js_post" href="{php echo $this->createMobileUrl('detail',array('id' =>$item['id']),true)}">
                        <div class="cover">
                            <img class="img js_img" src="{php echo strpos($item['thumb'],'http://')===FALSE?tomedia($item['thumb']):$item['thumb']}" />
                        </div>
                        <div class="cont">
                            <h2 class="title js_title">{$item['title']}</h2>
                            <p class="desc">{$item['description']}</p>
                        </div>
                    </a>
                    {/loop}
                </div>
                {/loop}
            </div>
        </div>

    </div>
</div>

<script nonce="">
    var __DEBUGINFO = {
        debug_js: "https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/debug/console34c264.js",
        safe_js: "https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/safe/moonsafe34c264.js",
        res_list: []
    };
</script>

<script nonce="">
    (function () {
        function _addVConsole(uri) {
            var url = 'https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/' + uri;
            document.write('<script nonce="" type="text/javascript" src="' + url + '"><\/script>');
        }

        if (
            (document.cookie && document.cookie.indexOf('vconsole_open=1') > -1)
            || location.href.indexOf('vconsole=1') > -1
        ) {
            _addVConsole('2.5.1/vconsole.min.js');
            _addVConsole('plugin/vconsole-elements/1.0.2/vconsole-elements.min.js');
            _addVConsole('plugin/vconsole-sources/1.0.1/vconsole-sources.min.js');
            _addVConsole('plugin/vconsole-resources/1.0.0/vconsole-resources.min.js');
            _addVConsole('plugin/vconsole-mpopt/1.0.0/vconsole-mpopt.js');
        }
    })();
</script>

<script>window.moon_map = {
    "biz_common/utils/report.js": "https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_common/utils/report3518c6.js",
    "homepage/report.js": "https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/homepage/report243273.js",
    "biz_wap/zepto/event.js": "https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/zepto/event34c264.js",
    "biz_wap/zepto/ajax.js": "https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/zepto/ajax37cd31.js",
    "biz_wap/zepto/zepto.js": "https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/zepto/zepto34c264.js",
    "homepage/index.js": "https://res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/homepage/index2e7b74.js"
};</script>
<script>
    var cgiData = {
        biz: 'MjM5ODIyMTE0MA==',
        hid: '4',
        pagename: "{if $title} {$title} {else} {if !empty($set['copyright'])} {$set['copyright']}{else}{$_W['account']['name']}{/if} {/if}{if $_W['account']['siteinfo']['sitename']}{$_W['account']['siteinfo']['sitename']} {/if}",
        comboList: {
            'js': '/hp/hp_1_7.js,/hp/hp_2_9.js',
            'css.js': '/hp/hp_1_7.css.js,/hp/hp_2_9.css.js'
        },
        biz_info: {
            nickname: "{$_W['account']['name']}"
        }
    };
</script>
<script>
    var soonBaseURL = location.protocol + '//' + window.location.host,
        soonMap = {
            'js': [],
            'css.js': []
        };
    for (var k in cgiData.comboList) {
        soonMap[k] = cgiData.comboList[k].split(',');
    }

    function soonDefineCallback(fileType) {
        if (fileType == 'css.js') {
            if (seajs.requiredNum['css.js'] >= Object.keys(soon.map['css.js']).length) {
                benchmark.mark('cssEnd');
            }
        } else if (fileType == 'js' || fileType == 'moon.js') {
            if (fileType == 'js' && seajs.requiredNum['js'] >= Object.keys(soon.map['js']).length) {
                benchmark.mark('soonJsEnd');
            }
            if (fileType == 'moon.js' && seajs.requiredNum['moon.js'] >= Object.keys(soon.map['moon.js']).length) {
                benchmark.mark('moonJsEnd');
            }
            if (seajs.requiredNum['js'] + seajs.requiredNum['moon.js'] >= Object.keys(soon.map['js']).length + Object.keys(soon.map['moon.js']).length) {
                benchmark.mark('jsEnd');
            }
        }
        if (seajs.requiredNum['css.js'] >= Object.keys(soon.map['css.js']).length && seajs.requiredNum['js'] >= Object.keys(soon.map['js']).length && seajs.requiredNum['moon.js'] >= Object.keys(soon.map['moon.js']).length) {
            document.getElementById('js_plugins_loading').style.display = "none";
            document.getElementById('js_plugins').style.visibility = "visible";
        }
    }

    benchmark.mark('soonJsBegin');
</script>

<script type="text/javascript" src="{RES}js/soon243273.js"></script>
<script>
    seajs.use('homepage/index.js');
    benchmark.mark('pageEnd');
</script>

</body>
<script nonce="" type="text/javascript">document.addEventListener("touchstart", function () {
}, false);</script>
<script language='javascript'>
    wx.ready(function () {
        shareMeta = {
            imgUrl: "{$shareimg}",
            link: "{$url}",
            desc: "{if !empty($category['description'])}{$category['description']}{else}{$_W['account']['name']}的精美图文{/if}",
            title: "{if !empty($category['title'])}{$category['title']}{else}{$_W['account']['name']}的精美图文{/if}",
            success: function () {

            },
            cancel: function () {
                // alert("分享失败，可能是网络问题，一会儿再试试？");
            }
        };
        wx.onMenuShareTimeline(shareMeta);
        wx.onMenuShareAppMessage(shareMeta);
        wx.onMenuShareWeibo(shareMeta);
        wx.onMenuShareQQ(shareMeta);
        wx.onMenuShareQZone(shareMeta);
    });
</script>
</html>

